﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain
{
    /// <summary>
    /// 权限表
    /// </summary>
    /// 
    [SugarTable("Permission")]
    public class Permission
    {
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "权限Id",Length = 50)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public string ?Permission_Id { get; set; }

        [SugarColumn(ColumnDescription = "权限名称", Length = 50)]
        public string ?Permission_Name { get; set; }

        [SugarColumn(ColumnDescription = "父Id", Length = 50)]
        public string ?Pid { get; set; }

        [SugarColumn(ColumnDescription = "地址", Length = 50)]
        public string ?MenuUrl { get; set; }

        [SugarColumn(ColumnDescription = "图标", Length = 100)]
        public string ?Icon { get; set; }
    }
}
